﻿#ifndef HOUSEMANAGECONTENT_H
#define HOUSEMANAGECONTENT_H

#include <QWidget>
#include "globalvars.h"

namespace Ui {
class HouseManageContent;
}

class HouseManageContent : public QWidget
{
    Q_OBJECT
signals:
    void signalWatchHouseTypeInfo(const HouseInfo&);
    void signalDeleteHouseTypeInfo(const QString&);

public:
    explicit HouseManageContent(QWidget *parent = nullptr);
    ~HouseManageContent();

    void initWindowUnits();
    void setImages(const QImage &image);
    const QString &getHouseType();
    void setHouseImage(const QImage& image);

private slots:
    void on_pb_watchDetails_clicked();
    void on_pb_delete_clicked();

private:
    Ui::HouseManageContent *ui;

    HouseInfo m_house;
};

#endif // HOUSEMANAGECONTENT_H
